package com.hu.network.http.bean;

/**
 * 说明：
 *
 * @author ： hucanhua
 * @date ： 2017/10/25
 */
public class InnerResponseResult<T> {
    private boolean httpSuccess = true;
    private int code;
    private String message;
    private T responseResult;

    public boolean isHttpSuccess() {
        return httpSuccess;
    }

    public void setHttpSuccess(boolean httpSuccess) {
        this.httpSuccess = httpSuccess;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public T getResponseResult() {
        return responseResult;
    }

    public void setResponseResult(T responseResult) {
        this.responseResult = responseResult;
    }

    @Override
    public String toString() {
        return "InnerResponseResult{" +
                "code=" + code +
                ", message='" + message + '\'' +
                ", responseResult=" + responseResult +
                '}';
    }
}
